package com.example.demo.config;

import com.example.demo.convert.JavaSerializationConverter;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

import java.util.List;

//@Configuration
public class FastJsonConfiguration{


   @Bean
   public JavaSerializationConverter javaSerializationConverter(){
       System.out.println("888888888888888888888888888888888888888888888888");
       return new JavaSerializationConverter();
   }

}
